package com.example.myapplication;

import java.util.List;

public class Animals {
    private List<Dog> dog;
    private Cat cat;
    public void setDog(List<Dog> dog) {
        this.dog = dog;
    }
    public List<Dog> getDog() {
        return dog;
    }

    public void setCat(Cat cat) {
        this.cat = cat;
    }
    public Cat getCat() {
        return cat;
    }

}

